<template>
<div>
<ul>
  <li v-for="obj in arr">{{obj}}</li>
</ul>
<button @click="btn">走一走</button>
</div>
</template>

<script>
export default {
  data(){
    return {
      arr:["程序员","美女","帅哥"]
    }
  },
  methods: {
    btn(){
      let shif=this.arr.shift()
      this.arr.push(shif)
    }
  }
};
</script>